package com.team5.stockservice.mapper;

import com.team5.stockservice.entity.Outport;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface OutportMapper {

	  List<Outport> select(@Param("providerid")Integer providerid, @Param("goodsid")Integer goodsid, @Param("index")Integer index, @Param("limit")Integer limit);
	
	  void insert(@Param("paytype")String paytype,@Param("outputtime")Date outputtime,@Param("operateperson")String operateperson,@Param("number")Integer number,@Param("remark")String remark
			,@Param("outportprice")Double outportprice,@Param("providerid")Integer providerid,@Param("goodsid")Integer goodsid);
	
	  void delete(Integer id);
	
	  Outport selectID(Integer id);
}
